package org.mashibing.service.impl;

import org.mashibing.dto.ResponseResult;
import org.mashibing.remote.ServiceOrderClient;
import org.mashibing.request.OrderRequest;
import org.mashibing.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author:
 * @create: 2024/7/4 10:42
 * @description:
 */
@Service
public class OrderServiceImpl implements OrderService {

    @Autowired
    ServiceOrderClient serviceOrderClient;


    @Override
    public ResponseResult add(OrderRequest orderRequest) {
        return serviceOrderClient.add(orderRequest);
    }
}
